|
DX11 SET OBJECT CAMERA MASK
This function can be used to set an object to only be rendered by certain cameras.
The mask is a 32-bit value; each set bit represents a camera ID that the object will be rendered by, just like with the sync mask.
Use DX11 GET CAMERA ID to get the ID of a certain camera (the main screen camera always has an ID of 0, so setting the mask to 1
will only render the object to the main camera (because 2 ^ 0 == 1)).
DX11 SET OBJECT CAMERA MASK object, mask
object Dword The object to set the camera mask for.
mask Dword The camera mask to set for the specified object.
This function does not return a value.
OBJECT Functions Menu
DX11 Function Categories
|